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:
<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:
<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:
<item type="id" name="clock">false</item>
download the files and put on folder drawable-mdpi, now recompile and sign the apk :laugh:
Screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And press button thanks
Thanks bro,it works well.
来自搭载Android 2.3 GingerBread的华为Y220-T10
Related
This has been Inverted for a while now but has never been fully transparent so since I figured it out on ICS, I figured I'd do the Gb version also since a lot of phones don't have and won't see ICS for a while... This has the video chat and it worked for me but just like any apk, some phones just won't play nice.. Enjoy!
Installation guide:
Pretty simple, just download this http://bit.ly/GBTalk13Transparent and flash it in recovery or rom manager...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For anyone wanting to know how to get that chat screen transparent:
We edit line 2834 in ChatView$MessageItem.smali to const v5, -0x100 for a black bg. So I looked up the public ID for Transparent in framework and it's 0x0106000d so I made line 2834 look like this instead const v5, 0x106000d so now instead of pulling an rgb from smali, it's pulling an ID from framework.. Then a few xml edits in values and layouts to complete it and a few png images... Boom! Gotta Transparent Gtalk.... Enjoy!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a light skin for PowerAmp 2.x.
This theme will transform your favorite player and make it unique.
Screenshot:
Google play
I've like it
Sent from my phone.
MiStar21 said:
[
Click to expand...
Click to collapse
Great work!
Could you please tell me how did you managed to change all icons?
I've stucked on matte_perm_repeat_levels and matte_perm_shuffle_levels They won't change from default.
Steps I've made:
1. Added <item name="com.maxmpz.audioplayer:aaa_perm_repeat">@drawable/matte_perm_repeat_levels</item> into classic_skin_styles.xml ,
2. Copied matte_perm_repeat_levels.xml into drawable folder,
3. Copied custom icons (matte_perm_repeat_levels) into drawable-hdpi folder.
Please help
Im making a pixel art game in Android Studio.
My question is, is possible to don't get the image blurred? Here is the example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is my layout:
Code:
Here is my layout:
<!-- logo-app -->
<ImageView
android:layout_width="516px"
android:layout_height="122px"
android:id="@+id/logo_engine"
android:layout_gravity="center"
android:src="@drawable/logoengine"
android:contentDescription="@null" />
The imagen is 516x122 px so the size is correct but I dont know if the device zooms the application..
For example, the same App in Adobe Air, fits correctly because is designed in 240×320px and the device fits the application to screen perfectly. The application Is zoomed but pixels are zoomed perfectly. Is there any way to conserve the pixels and don't get blurred images?
Thanks!
Use a SVG format picture. But I'm not sure that will work in Android Studio
Sent from my Nexus 9 using XDA-Developers mobile app
• Reverts the translucent tab background, back to white.
• Changes the default color from Pixel blue to AOSP teal. (009688)
• Based on the latest Lawnchair 1.1.0.1834 > https://lawnchairmirror.duckdns.org/
• Uninstall any previous version of Lawnchair to install this modded version.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DIY
1. res > drawable > bg_pixel_qsb_connector
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/white" />
</shape>
2. res > values > colors > accent_material_light
Code:
<color name="accent_material_light">[COLOR="Teal"]#ff009688[/COLOR]</color>
Updated to ...1834 and added a DIY, Enjoy.
How to add more videos to the app?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have created an app that contains a video, it works fine now I want to add more video to the list,
here are the codes I used:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
androidaddingLeft="1dp"
androidaddingRight="1dp">
<VideoView
android:id="@+id/vdVw"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center" />
</RelativeLayout>
Maina_Activity.java:
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.MediaController;
import android.widget.VideoView;
public class MainActivity extends AppCompatActivity {
u/Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
VideoView videoView =(VideoView)findViewById(R.id.vdVw);
//Set MediaController to enable play, pause, forward, etc options.
MediaController mediaController= new MediaController(this);
mediaController.setAnchorView(videoView);
//Location of Media File
Uri uri = Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.video1);
//Starting VideView By Setting MediaController and URI
videoView.setMediaController(mediaController);
videoView.setVideoURI(uri);
videoView.requestFocus();
videoView.start();