forked from signalapp/Signal-Android
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1213 from bemusementpark/fix-id-divider-color
Fix ID divider color
- Loading branch information
Showing
5 changed files
with
35 additions
and
83 deletions.
There are no files selected for viewing
70 changes: 0 additions & 70 deletions
70
app/src/main/java/org/thoughtcrime/securesms/components/LabeledSeparatorView.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="1dp"/> | ||
<corners android:radius="16dp"/> | ||
<solid android:color="?colorPrimary"/> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,33 @@ | ||
<?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="1dp"/> | ||
|
||
<FrameLayout | ||
android:layout_gravity="center" | ||
android:background="@drawable/view_separator" | ||
android:paddingTop="4dp" | ||
android:paddingBottom="4dp" | ||
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"> | ||
|
||
<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> | ||
|
||
</RelativeLayout> | ||
</FrameLayout> |