mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Renaming implemented and added a clock to main view.
This commit is contained in:
parent
109b849a6e
commit
3adaa4a8b0
2 changed files with 61 additions and 16 deletions
|
|
@ -2,9 +2,9 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/apps"
|
||||
android:id="@+id/home_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="bottom"
|
||||
android:fillViewport="true"
|
||||
android:fitsSystemWindows="true"
|
||||
|
|
@ -12,11 +12,22 @@
|
|||
android:orientation="vertical"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<TextClock
|
||||
android:id="@+id/text_clock"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginVertical="20dp"
|
||||
android:layout_weight="1"
|
||||
android:textAlignment="center"
|
||||
android:textColor="#F3F3F3"
|
||||
android:textSize="70sp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
android:onClick="openAppMenuActivity"/>
|
||||
android:layout_weight="0.1"
|
||||
android:onClick="openAppMenuActivity"
|
||||
android:text="Button" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue