android.zealot.fervor, you need knowledge of layouts in android ...
In theory, summarize:
***Extract the KeyguardSPlannerWidget.apk ( no center clock ) in
[ Mod XXUGNA7 ] KeyguardSPlannerWidget 4.3 [ dkt ]
https://dl.dropboxusercontent.com/u/69301771/[ Mod XXUGNA7 ] KeyguardSPlannerWidget 4.3 [ dkt ].zip ,
decomplie apk, in layout folder open "keyguard_single_clock_layout.xml" with notepad+ and 11 lines
If a linearlayout the orientation=vertical or horizontal + gravity=top or bottom, it shows the elementes align to left...
***Extract the KeyguardSPlannerWidget.apk in [ Mod XXUGNA7 ] KeyguardSPlanner Widget 4.3 [ dkt ]
https://dl.dropboxusercontent.com/u...yguardSPlanner ( Center Icons ) [ dkt ].zip
decomplie apk, in layout folder open "keyguard_single_clock_layout.xml" with notepad+ and 11 lines:
If a linearlayout the orientation=vertical or horizontal + gravity=center or center|top or center|bottom, it shows the elementes center in parent...
Too affect the parametre android:layout_width="fill_parent" and/or android:layout_width="wrap_content"...
You can learn a little configuration linearlayouts and relativelayouts in android, and can see the diference between first mod and second mod...
After of change a element of XML you compile apk ( with apk manager ), and delete resources file + delete the XML changed, and compile finally, and rename the compiled apk with the same name with original. Introduce this apk in zip and apply zip.
Excuse me for my bad english
In theory, summarize:
***Extract the KeyguardSPlannerWidget.apk ( no center clock ) in
[ Mod XXUGNA7 ] KeyguardSPlannerWidget 4.3 [ dkt ]
https://dl.dropboxusercontent.com/u/69301771/[ Mod XXUGNA7 ] KeyguardSPlannerWidget 4.3 [ dkt ].zip ,
decomplie apk, in layout folder open "keyguard_single_clock_layout.xml" with notepad+ and 11 lines
Code:
<LinearLayout android:gravity="top" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
LinearLayout [U]android:gravity="bottom"[/U] android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="-14.0dip" android:layout_marginBottom="@dimen/missed_event_margin_bottom">
<TextClock android:textSize="51.0dip" android:textColor="#ffffffff" [U]android:gravity="top"[/U] android:id="@id/missed_clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#bf000000" android:shadowDx="4.0" android:shadowDy="3.0" android:shadowRadius="4.0" android:textAllCaps="true" android:format12Hour="@string/widget_12_hours_format" android:format24Hour="@string/widget_24_hours_format" style="@style/widget_thin" />
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip">
<LinearLayout android:gravity="top" android:orientation="horizontal" android:paddingTop="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:layout_marginLeft="6.0dip" android:layout_above="@id/missed_date" layout="@layout/keyguard_alarm_area" />
<include android:layout_marginLeft="10.0dip" layout="@layout/owner_info" />
</LinearLayout>
TextClock android:textSize="18.0dip" android:textColor="#ffffffff" [U]android:layout_gravity="bottom"[/U] android:id="@id/missed_date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginTop="-3.0dip" android:shadowColor="#bf000000" android:shadowDx="4.0" android:shadowDy="3.0" android:shadowRadius="4.0" android:layout_alignParentRight="true" android:textAllCaps="true" android:format12Hour="@string/abbrev_wday_day_abbrev_full_month_no_year" android:format24Hour="@string/abbrev_wday_day_abbrev_full_month_no_year" />
</LinearLayout>
</LinearLayout>
If a linearlayout the orientation=vertical or horizontal + gravity=top or bottom, it shows the elementes align to left...
***Extract the KeyguardSPlannerWidget.apk in [ Mod XXUGNA7 ] KeyguardSPlanner Widget 4.3 [ dkt ]
https://dl.dropboxusercontent.com/u...yguardSPlanner ( Center Icons ) [ dkt ].zip
decomplie apk, in layout folder open "keyguard_single_clock_layout.xml" with notepad+ and 11 lines:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="top" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextClock android:textSize="68.0dip" android:textColor="#ffffffff" [U]android:layout_gravity="top|center[/U] android:id="@id/missed_clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-18.0dip" android:layout_marginBottom="@dimen/missed_event_margin_bottom" android:shadowColor="#bf000000" android:shadowDx="4.0" android:shadowDy="3.0" android:shadowRadius="4.0" android:textAllCaps="true" android:format12Hour="@string/widget_12_hours_format" android:format24Hour="@string/widget_24_hours_format" style="@style/widget_thin" />
<TextClock android:textSize="15.0dip" android:textColor="#ffffffff" [U]android:layout_gravity="bottom|center"[/U] android:id="@id/missed_date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-9.0dip" android:shadowColor="#bf000000" android:shadowDx="4.0" android:shadowDy="3.0" android:shadowRadius="4.0" android:layout_alignParentRight="true" android:textAllCaps="true" android:format12Hour="@string/abbrev_wday_day_abbrev_full_month_no_year" android:format24Hour="@string/abbrev_wday_day_abbrev_full_month_no_year" />
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="249.0dip" android:layout_marginTop="-83.0dip">
<LinearLayout android:gravity="top" android:orientation="vertical" android:paddingTop="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:layout_marginLeft="6.0dip" android:layout_above="@id/missed_date" layout="@layout/keyguard_alarm_area" />
<include android:layout_marginLeft="10.0dip" android:layout_marginTop="10.0dip" layout="@layout/owner_info" />
</LinearLayout>
</LinearLayout
If a linearlayout the orientation=vertical or horizontal + gravity=center or center|top or center|bottom, it shows the elementes center in parent...
Too affect the parametre android:layout_width="fill_parent" and/or android:layout_width="wrap_content"...
You can learn a little configuration linearlayouts and relativelayouts in android, and can see the diference between first mod and second mod...
After of change a element of XML you compile apk ( with apk manager ), and delete resources file + delete the XML changed, and compile finally, and rename the compiled apk with the same name with original. Introduce this apk in zip and apply zip.
Excuse me for my bad english
Last edited: