mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-07 11:22:21 +00:00
Fix ID divider color
This commit is contained in:
6
app/src/main/res/drawable/view_separator.xml
Normal file
6
app/src/main/res/drawable/view_separator.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<stroke android:color="?colorDividerBackground" android:width="1px"/>
|
||||
<corners android:radius="16dp"/>
|
||||
<solid android:color="?colorPrimary"/>
|
||||
</shape>
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<org.thoughtcrime.securesms.components.LabeledSeparatorView
|
||||
<include layout="@layout/view_separator"
|
||||
android:id="@+id/separatorView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/promptTextView">
|
||||
|
||||
<org.thoughtcrime.securesms.components.LabeledSeparatorView
|
||||
<include layout="@layout/view_separator"
|
||||
android:id="@+id/separatorView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
|
||||
@@ -1,17 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleTextView"
|
||||
<View
|
||||
android:layout_gravity="center"
|
||||
android:background="?colorDividerBackground"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"/>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/view_separator"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:textColor="?android:textColorTertiary"
|
||||
android:textSize="@dimen/small_font_size"
|
||||
android:text="@string/your_session_id" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textColor="?android:textColorTertiary"
|
||||
android:textSize="@dimen/small_font_size"
|
||||
android:text="@string/your_session_id" />
|
||||
</FrameLayout>
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user