Fixed a copy-paste problem in AndroidManifest.xml, the log read

activity always popped up the soft keyboard

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-05-04 10:02:30 +02:00
parent 236a6394c7
commit cacac3cc50
3 changed files with 4 additions and 6 deletions

View File

@ -11,8 +11,7 @@
</activity> </activity>
<activity android:name=".SSLDroidTunnelDetails" <activity android:name=".SSLDroidTunnelDetails"
android:windowSoftInputMode="stateVisible|adjustResize" /> android:windowSoftInputMode="stateVisible|adjustResize" />
<activity android:name=".SSLDroidReadLogs" <activity android:name=".SSLDroidReadLogs" />
android:windowSoftInputMode="stateVisible|adjustResize" />
<service android:enabled="true" android:name="SSLDroid"> <service android:enabled="true" android:name="SSLDroid">
<intent-filter> <intent-filter>
<action android:name="hu.blint.ssldroid.SSLDroid" /> <action android:name="hu.blint.ssldroid.SSLDroid" />

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView android:id="@+id/scrollView1" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <ScrollView android:id="@+id/scrollView1" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:focusableInTouchMode="true" android:focusable="true" android:longClickable="false">
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:inputType="none" android:editable="false" android:id="@+id/logTextView" android:text="@string/reading_logs"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:inputType="none" android:editable="false" android:id="@+id/logTextView" android:text="@string/reading_logs"/>
</ScrollView> </ScrollView>

View File

@ -22,7 +22,7 @@ public class SSLDroidReadLogs extends Activity{
try try
{ {
mLogcatProc = Runtime.getRuntime().exec(new String[] mLogcatProc = Runtime.getRuntime().exec(new String[]
{"logcat", "-d", "-v", "time", "-b", "main", "AndroidRuntime:E SSLDroid:D SSLDroidGui:D *:S" }); {"logcat", "-d", "-v", "time", "-b", "main", "SSLDroid:D SSLDroidGui:D *:S" });
reader = new BufferedReader(new InputStreamReader(mLogcatProc.getInputStream())); reader = new BufferedReader(new InputStreamReader(mLogcatProc.getInputStream()));
@ -56,8 +56,7 @@ public class SSLDroidReadLogs extends Activity{
Log.d("SSLDroid", "Logcat problem: "+e.toString()); Log.d("SSLDroid", "Logcat problem: "+e.toString());
} }
} }
} }
} }