mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 09:57:26 +00:00
App alignment added
This commit is contained in:
parent
01b7400083
commit
8d0486bb2d
8 changed files with 221 additions and 46 deletions
|
|
@ -7,11 +7,11 @@
|
|||
android:alpha="1">
|
||||
<group android:scaleX="0.5"
|
||||
android:scaleY="0.5"
|
||||
android:translateX="0
|
||||
"
|
||||
android:translateX="6"
|
||||
android:translateY="6">
|
||||
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,2C6.47,2 2,6.47 2,12s4.47,10 10,10 10,-4.47 10,-10S17.53,2 12,2z"/>
|
||||
</group>
|
||||
</vector>
|
||||
</vector>
|
||||
|
|
@ -113,6 +113,7 @@
|
|||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
android:textColor="#F3F3F3"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/text_clock"
|
||||
app:layout_constraintStart_toStartOf="@+id/text_clock"
|
||||
app:layout_constraintTop_toBottomOf="@+id/text_clock" />
|
||||
|
||||
|
|
@ -131,6 +132,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -152,6 +154,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -174,6 +177,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -196,6 +200,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -219,6 +224,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -242,6 +248,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -265,6 +272,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
@ -288,6 +296,7 @@
|
|||
android:autoSizeMaxTextSize="28sp"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
app:layout_constraintBottom_toBottomOf="@+id/clock_alignment_label" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/home_app_alignment"
|
||||
android:id="@+id/home_app_alignment_label"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
|
|
@ -71,21 +71,63 @@
|
|||
app:layout_constraintVertical_bias="0.0" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner2"
|
||||
android:id="@+id/home_app_alignment"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:entries="@array/clock_alignment_options"
|
||||
android:spinnerMode="dropdown"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/home_app_alignment"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/home_app_alignment_label"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/home_app_alignment"
|
||||
app:layout_constraintTop_toTopOf="@+id/home_app_alignment" />
|
||||
app:layout_constraintStart_toEndOf="@+id/home_app_alignment_label"
|
||||
app:layout_constraintTop_toTopOf="@+id/home_app_alignment_label" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?android:attr/listDivider"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/home_app_alignment" />
|
||||
app:layout_constraintBottom_toBottomOf="@+id/home_app_alignment_label" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_alignment_label"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:gravity="start"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:paddingBottom="20dp"
|
||||
android:text="App Menu Alignment"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
android:textColor="#F3F3F3"
|
||||
android:textSize="20sp"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/clock_alignment"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/divider3"
|
||||
app:layout_constraintVertical_bias="0.0" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/app_alignment"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:entries="@array/clock_alignment_options"
|
||||
android:spinnerMode="dropdown"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/app_alignment_label"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toEndOf="@+id/app_alignment_label"
|
||||
app:layout_constraintTop_toTopOf="@+id/app_alignment_label"
|
||||
app:layout_constraintVertical_bias="0.0" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?android:attr/listDivider"
|
||||
app:layout_constraintTop_toBottomOf="@+id/app_alignment_label" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
@ -54,6 +54,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:drawablePadding="3dp"
|
||||
android:gravity="start"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="20dp"
|
||||
|
|
@ -139,4 +140,4 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue