mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
5eb04328d3
1) Update the create, prompt, and change passphrase activities. They are no longer dialog themed, and should look a little less ugly. 2) Update the import DB activity to be less ugly and more robust. 3) Abstract all of the state handling stuff out of ConversationListActivity. This is now handled by RoutingActivity, which all launch intents move through.
81 lines
3.8 KiB
XML
81 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fillViewport="true"
|
|
android:background="@drawable/background_pattern_repeat">
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center" >
|
|
|
|
<LinearLayout android:paddingRight="16dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingTop="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:visibility="visible"
|
|
android:orientation="vertical">
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:textAllCaps="true"
|
|
android:text="@string/change_passphrase_activity__old_passphrase" />
|
|
|
|
<EditText android:id="@+id/old_passphrase"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:layout_marginBottom="10dip"
|
|
android:singleLine="true"/>
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:textAllCaps="true"
|
|
android:text="@string/change_passphrase_activity__new_passphrase" />
|
|
|
|
<EditText android:id="@+id/new_passphrase"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:singleLine="true"/>
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:textAllCaps="true"
|
|
android:text="@string/change_passphrase_activity__repeat_new_passphrase" />
|
|
|
|
<EditText android:id="@+id/repeat_passphrase"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:singleLine="true"/>
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="30dip">
|
|
|
|
<Button style="@android:style/Widget.Button"
|
|
android:id="@+id/cancel_button"
|
|
android:text="@android:string/cancel"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="7dip"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
<Button style="@android:style/Widget.Button"
|
|
android:id="@+id/ok_button"
|
|
android:text="@android:string/ok"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</ScrollView> |