mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 01:37:43 +00:00
5263ac1f1a
1) Broke out the UI elements of the major Activites into stylable attributes. 2) Created a 'light' and 'dark' theme for the newly stylable attrs. 3) Touched up some of the UI spacing. 4) Implemented dynamic theme switching support.
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/recipients_panel"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dip"
|
|
android:paddingBottom="5dip"
|
|
android:paddingLeft="5dip"
|
|
android:paddingRight="5dip"
|
|
android:background="?conversation_background"
|
|
android:orientation="vertical" >
|
|
|
|
<org.thoughtcrime.securesms.contacts.RecipientsEditor android:id="@+id/recipients_text"
|
|
android:layout_height="wrap_content"
|
|
android:capitalize="sentences"
|
|
android:autoText="true"
|
|
android:singleLine="true"
|
|
android:hint="@string/recipients_panel__to"
|
|
android:paddingRight="45dip"
|
|
android:textColor="#000000"
|
|
android:layout_width="fill_parent"/>
|
|
|
|
<ImageButton android:id="@+id/contacts_button"
|
|
android:background="#00000000"
|
|
android:layout_width="40dip"
|
|
android:layout_height="35dip"
|
|
android:layout_marginRight="5dip"
|
|
android:layout_marginTop="4dip"
|
|
android:src="@drawable/ic_menu_add_field_holo_light"
|
|
android:layout_alignRight="@id/recipients_text"
|
|
android:maxWidth="32dip"
|
|
android:maxHeight="32dip" />
|
|
|
|
</RelativeLayout> |