mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-03-16 03:02:47 +00:00
add proper colored popups like ios
This commit is contained in:
19
android/app/src/main/res/layout/battery_widget.xml
Normal file
19
android/app/src/main/res/layout/battery_widget.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/Widget.ALN.AppWidget.Container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:theme="@style/Theme.ALN.AppWidgetContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/appwidget_text"
|
||||
style="@style/Widget.ALN.AppWidget.InnerView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="8dp"
|
||||
android:contentDescription="@string/appwidget_text"
|
||||
android:text="@string/appwidget_text"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold|italic" />
|
||||
</RelativeLayout>
|
||||
@@ -25,7 +25,7 @@
|
||||
android:fontFamily="@font/sf_pro"
|
||||
android:gravity="center"
|
||||
android:text="Kavish's AirPods Pro"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/popup_text"
|
||||
|
||||
android:textSize="28sp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
@@ -72,7 +72,7 @@
|
||||
android:layout_marginTop="16dp"
|
||||
android:fontFamily="@font/sf_pro"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/popup_text"
|
||||
android:textSize="20sp"
|
||||
android:id="@+id/left_battery"
|
||||
android:gravity="center"
|
||||
@@ -88,7 +88,7 @@
|
||||
android:gravity="center"
|
||||
android:text=""
|
||||
android:id="@+id/right_battery"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/popup_text"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
android:fontFamily="@font/sf_pro"
|
||||
android:gravity="center"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/popup_text"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user