mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Fix passphrase prompt dialog activity.
This commit is contained in:
parent
a7cc47d259
commit
c7e891eda4
@ -32,10 +32,16 @@
|
|||||||
android:windowSoftInputMode="stateHidden"
|
android:windowSoftInputMode="stateHidden"
|
||||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"/>
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"/>
|
||||||
|
|
||||||
|
<activity android:name=".PassphrasePromptActivity"
|
||||||
|
android:theme="@style/Theme.Sherlock.Dialog"
|
||||||
|
android:label="Enter Passphrase"
|
||||||
|
android:launchMode="singleInstance"
|
||||||
|
android:windowSoftInputMode="stateVisible"
|
||||||
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"/>
|
||||||
|
|
||||||
<activity android:name=".AutoInitiateActivity" android:theme="@android:style/Theme.Dialog" android:label="TextSecure Messaging Detected" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".AutoInitiateActivity" android:theme="@android:style/Theme.Dialog" android:label="TextSecure Messaging Detected" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
<activity android:name=".ApplicationPreferencesActivity" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".ApplicationPreferencesActivity" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
<activity android:name=".PassphraseCreateActivity" android:theme="@android:style/Theme.Dialog" android:label="Create Passphrase" android:launchMode="singleInstance" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".PassphraseCreateActivity" android:theme="@android:style/Theme.Dialog" android:label="Create Passphrase" android:launchMode="singleInstance" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
<activity android:name=".PassphrasePromptActivity" android:theme="@android:style/Theme.Dialog" android:label="Enter Passphrase" android:launchMode="singleInstance" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
|
||||||
<activity android:name=".PassphraseChangeActivity" android:theme="@android:style/Theme.Dialog" android:label="Change Passphrase" android:launchMode="singleInstance" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".PassphraseChangeActivity" android:theme="@android:style/Theme.Dialog" android:label="Change Passphrase" android:launchMode="singleInstance" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
<activity android:name=".SendKeyActivity" android:theme="@android:style/Theme.Dialog" android:label="Initiate Key Exchange" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".SendKeyActivity" android:theme="@android:style/Theme.Dialog" android:label="Initiate Key Exchange" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
<activity android:name=".ReceiveKeyActivity" android:theme="@android:style/Theme.Dialog" android:label="Complete Key Exchange" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
<activity android:name=".ReceiveKeyActivity" android:theme="@android:style/Theme.Dialog" android:label="Complete Key Exchange" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout"></activity>
|
||||||
|
@ -1,48 +1,39 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/RelativeLayout01"
|
<EditText android:inputType="textPassword"
|
||||||
android:layout_width="fill_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="fill_parent"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
android:id="@+id/passphrase_edit"
|
||||||
|
android:password="true"
|
||||||
|
android:layout_margin="16dip"/>
|
||||||
|
|
||||||
<!-- <ImageView android:id="@+id/icon"-->
|
<LinearLayout android:layout_width="fill_parent"
|
||||||
<!-- android:layout_width="wrap_content"-->
|
android:layout_height="wrap_content"
|
||||||
<!-- android:layout_height="wrap_content"-->
|
android:orientation="horizontal"
|
||||||
<!-- android:src="@drawable/key_square"-->
|
android:layout_marginBottom="16dip"
|
||||||
<!-- android:layout_alignParentLeft="true"-->
|
android:gravity="right">
|
||||||
<!-- android:layout_alignParentTop="true"-->
|
|
||||||
<!-- android:layout_margin="15dip" />-->
|
|
||||||
<!-- -->
|
|
||||||
<!-- <TextView android:layout_width="wrap_content" -->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_toRightOf="@id/icon"-->
|
|
||||||
<!-- android:layout_alignBaseline="@id/icon" -->
|
|
||||||
<!-- android:text="Enter Passphrase" -->
|
|
||||||
<!-- android:textSize="20dip"-->
|
|
||||||
<!-- android:id="@+id/enter_passphrase_label" />-->
|
|
||||||
|
|
||||||
<EditText android:inputType="textPassword"
|
<TableLayout android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/passphrase_edit"
|
android:stretchColumns="*">
|
||||||
android:password="true"
|
<TableRow>
|
||||||
android:layout_below="@id/icon"
|
<Button android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_margin="15dip"></EditText>
|
android:text="Cancel"
|
||||||
|
android:id="@+id/cancel_button"
|
||||||
|
android:layout_marginRight="15dip"
|
||||||
|
android:layout_marginLeft="16dip"/>
|
||||||
|
|
||||||
<Button android:layout_height="wrap_content"
|
<Button android:layout_width="wrap_content"
|
||||||
android:text="Cancel"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="70dip"
|
android:text="OK"
|
||||||
android:id="@+id/cancel_button"
|
android:id="@+id/ok_button"
|
||||||
android:layout_marginRight="15dip"
|
android:layout_marginRight="16dip"/>
|
||||||
android:layout_alignParentRight="true"
|
</TableRow>
|
||||||
android:layout_below="@id/passphrase_edit" ></Button>
|
</TableLayout>
|
||||||
|
</LinearLayout>
|
||||||
<Button android:layout_below="@id/passphrase_edit"
|
</LinearLayout>
|
||||||
android:layout_width="70dip"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="OK"
|
|
||||||
android:layout_toLeftOf="@id/cancel_button"
|
|
||||||
android:id="@+id/ok_button"
|
|
||||||
android:layout_marginRight="15dip" ></Button>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user