Quantcast
Channel: xda-developers - Android Themes
Viewing all articles
Browse latest Browse all 4090

[Guide ][GB][how to put analog clock on lockscreen]

$
0
0
OK, let's go!;)
decompile your framework-res.apk-
go to the folder framework-res/res / layout and search for "keyguard_screen_tab_unlock.xml"
open the xml and below the
HTML Code:

<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginRight="10.0dip" android:layout_marginBottom="0.5dip" android:layout_below="@id/carrier_sub2" android:layout_centerInParent="true">
put this code
HTML Code:

<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content">
                <AnalogClock android:gravity="center" android:id="@id/clock" android:layout_width="121.0dip" android:layout_height="121.0dip" android:dial="@drawable/circle" android:hand_hour="@drawable/pu" android:hand_minute="@drawable/os" android:layout_centerVertical="true" />
            </LinearLayout>

now in id.xml put this code above the </resources>
HTML Code:

    <item type="id" name="clock">false</item>
download the files and put on folder drawable-mdpi, now recompile and sign the apk :laugh:

Screen :D


And press button thanks :D

Attached Files
File Type: zip files.zip - [Click for QR Code] (10.5 KB)

Viewing all articles
Browse latest Browse all 4090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>