You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
6.3 KiB
XML
145 lines
6.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="org.thoughtcrime.securesms.preferences.SettingsActivity"
|
|
tools:theme="@style/Theme.Session.DayNight.NoActionBar"
|
|
tools:menu="@menu/settings_general">
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal">
|
|
|
|
<org.thoughtcrime.securesms.components.ProfilePictureView
|
|
android:id="@+id/profilePictureView"
|
|
android:layout_width="@dimen/large_profile_picture_size"
|
|
android:layout_height="@dimen/large_profile_picture_size"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:contentDescription="@string/AccessibilityId_profile_picture" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ctnGroupNameSection"
|
|
android:contentDescription="@string/AccessibilityId_username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
android:layout_marginTop="@dimen/small_spacing"
|
|
android:layout_marginRight="@dimen/large_spacing">
|
|
|
|
<EditText
|
|
android:id="@+id/displayNameEditText"
|
|
style="@style/SessionEditText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:contentDescription="@string/AccessibilityId_username"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
android:visibility="invisible"
|
|
android:hint="@string/activity_settings_display_name_edit_text_hint"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="textCapWords"
|
|
android:maxLength="@integer/max_user_nickname_length_chars"
|
|
android:maxLines="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/btnGroupNameDisplay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:contentDescription="@string/AccessibilityId_username"
|
|
android:gravity="center"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/very_large_font_size"
|
|
android:maxLength="@integer/max_user_nickname_length_chars"
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/view_separator"
|
|
android:id="@+id/separatorView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginRight="@dimen/large_spacing"/>
|
|
|
|
<TextView
|
|
android:id="@+id/publicKeyTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
android:layout_marginRight="@dimen/large_spacing"
|
|
android:textSize="@dimen/large_font_size"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:fontFamily="@font/space_mono_regular"
|
|
android:textAlignment="center"
|
|
android:contentDescription="@string/AccessibilityId_account_id"
|
|
tools:text="05987d601943c267879be41830888066c6a024cbdc9a548d06813924bf3372ea78" />
|
|
|
|
<androidx.compose.ui.platform.ComposeView
|
|
android:id="@+id/composeView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/oxenLogoImageView"
|
|
android:layout_width="80dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
app:tint="?android:textColorPrimary"
|
|
android:src="@drawable/oxen_light_mode" />
|
|
|
|
<TextView
|
|
android:id="@+id/versionTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
|
android:gravity="center"
|
|
android:text="@string/version_s"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:alpha="0.6"
|
|
android:textSize="@dimen/very_small_font_size" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/loader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#A4000000"
|
|
android:visibility="gone">
|
|
|
|
<com.github.ybq.android.spinkit.SpinKitView
|
|
style="@style/SpinKitView.Large.ThreeBounce"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginTop="8dp"
|
|
app:SpinKit_Color="@android:color/white" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</RelativeLayout> |