mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 09:47:43 +00:00
WIP
This commit is contained in:
parent
f8ea8cbd03
commit
61e44dcb59
BIN
app/src/main/res/drawable-mdpi/ic_plus_24.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_plus_24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 168 B |
BIN
app/src/main/res/drawable-xhdpi/ic_plus_24.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_plus_24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_plus_24.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_plus_24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 348 B |
11
app/src/main/res/drawable/input_bar_button_background.xml
Normal file
11
app/src/main/res/drawable/input_bar_button_background.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ripple
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:color="@color/accent">
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<solid android:color="@color/input_bar_button_background" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</ripple>
|
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/input_bar_height"
|
android:layout_height="@dimen/input_bar_height"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
@ -14,24 +15,49 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<View
|
<RelativeLayout
|
||||||
android:layout_width="24dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="40dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:background="@color/red" />
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginStart="@dimen/small_spacing"
|
||||||
|
android:background="@drawable/input_bar_button_background">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="16dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:scaleType="centerInside"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:src="@drawable/ic_plus_24"
|
||||||
|
app:tint="@color/text" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:layout_marginStart="24dp"
|
android:layout_marginStart="56dp"
|
||||||
android:layout_marginEnd="24dp" />
|
android:layout_marginEnd="56dp"
|
||||||
|
android:background="@color/red" />
|
||||||
|
|
||||||
<View
|
<RelativeLayout
|
||||||
android:layout_width="24dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="40dp"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:background="@color/blue" />
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginEnd="@dimen/small_spacing"
|
||||||
|
android:background="@drawable/input_bar_button_background">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="16dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:scaleType="centerInside"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:src="@drawable/ic_microphone"
|
||||||
|
app:tint="@color/text" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
<color name="open_group_chip_color">#0D000000</color>
|
<color name="open_group_chip_color">#0D000000</color>
|
||||||
<color name="message_selected">#FFFFFF</color>
|
<color name="message_selected">#FFFFFF</color>
|
||||||
<color name="input_bar_background">#FCFCFC</color>
|
<color name="input_bar_background">#FCFCFC</color>
|
||||||
|
<color name="input_bar_button_background">#0D000000</color>
|
||||||
|
|
||||||
<color name="default_background_start">#ffffff</color>
|
<color name="default_background_start">#ffffff</color>
|
||||||
<color name="default_background_end">#fcfcfc</color>
|
<color name="default_background_end">#fcfcfc</color>
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
<color name="open_group_chip_color">#0DFFFFFF</color>
|
<color name="open_group_chip_color">#0DFFFFFF</color>
|
||||||
<color name="message_selected">#000000</color>
|
<color name="message_selected">#000000</color>
|
||||||
<color name="input_bar_background">#171717</color>
|
<color name="input_bar_background">#171717</color>
|
||||||
|
<color name="input_bar_button_background">#0DFFFFFF</color>
|
||||||
|
|
||||||
<array name="profile_picture_placeholder_colors">
|
<array name="profile_picture_placeholder_colors">
|
||||||
<item>#5ff8b0</item>
|
<item>#5ff8b0</item>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
<dimen name="path_row_height">56dp</dimen>
|
<dimen name="path_row_height">56dp</dimen>
|
||||||
<dimen name="path_row_dot_size">8dp</dimen>
|
<dimen name="path_row_dot_size">8dp</dimen>
|
||||||
<dimen name="path_row_expanded_dot_size">16dp</dimen>
|
<dimen name="path_row_expanded_dot_size">16dp</dimen>
|
||||||
<dimen name="input_bar_height">64dp</dimen>
|
<dimen name="input_bar_height">56dp</dimen>
|
||||||
|
|
||||||
<!-- Distances -->
|
<!-- Distances -->
|
||||||
<dimen name="small_spacing">8dp</dimen>
|
<dimen name="small_spacing">8dp</dimen>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user