2016-04-19 16:03:24 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="true">
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:background="?attr/color_background_primary">
|
2016-04-19 16:03:24 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/linearLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:minHeight="256dp"
|
|
|
|
android:orientation="vertical"
|
2016-10-08 16:24:20 +00:00
|
|
|
android:paddingBottom="10dp"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/pick_your_username"
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:textColor="?attr/color_text_primary"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:textSize="?attr/TextSizeHeadline"
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/magic_create_text"
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:textColor="?attr/color_text_primary"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:textSize="?attr/TextSizeBody"/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/username"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:hint="@string/username_hint"
|
|
|
|
android:inputType="textNoSuggestions"
|
|
|
|
android:textSize="?attr/TextSizeBody"/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/full_jid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/your_full_jid_will_be"
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:textColor="?attr/color_text_secondary"
|
2016-04-19 16:03:24 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"
|
|
|
|
android:visibility="invisible"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/create_account"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:text="@string/next"
|
|
|
|
android:textColor="@color/accent"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@+id/linearLayout"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:src="@drawable/main_logo"/>
|
|
|
|
</RelativeLayout>
|
2016-10-08 16:24:20 +00:00
|
|
|
<TextView
|
2016-10-13 10:17:20 +00:00
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
2016-10-08 16:24:20 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:textColor="?attr/color_text_secondary"
|
2016-10-13 10:17:20 +00:00
|
|
|
android:textSize="@dimen/fineprint_size"
|
2016-10-08 16:24:20 +00:00
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/free_for_six_month"
|
|
|
|
android:layout_centerHorizontal="true"/>
|
2016-04-19 16:03:24 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView>
|