Categories
Android 🏴‍☠️

How do I remove the title bar in android studio?

Go to styles.xml and change .DarkActionBar for .NoActionBar

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
</style>

becomes

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
</style>

Screen Shot 2559-08-07 at 7.48.42 PM

 

Categories
Android 🏴‍☠️

ตั้งค่า Gradle Deamon ใน Android Studio

ตั้งค่า Gradle Deamon ใน Android Studio เพื่อทำให้ build เร็วขึ้น

cd ~/.gradle

nano gradle.properties

Screen Shot 2559-08-06 at 3.44.22 PM

Screen Shot 2559-08-06 at 3.45.04 PM

org.gradle.deamon=true

Screen Shot 2559-08-06 at 3.45.30 PM

Screen Shot 2559-08-06 at 3.46.41 PM