This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gnome-desktop-item-edit --create-new ~/Desktop | |
| # create new desktop launcher | |
| dpkg -L <package name> | |
| # see where a package is installed | |
| chmod 777 <filename> | |
| # change permissions to read, write, execute | |
| chmod -R <permissionsettings> <dirname> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <alpha | |
| android:fromAlpha="0.0" | |
| android:toAlpha="1.0" | |
| android:interpolator="@android:anim/accelerate_interpolator" | |
| android:duration="1000"/> | |
| </set> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > | |
| <size | |
| android:height="439px" | |
| android:width="780px"/> | |
| <gradient | |
| android:startColor="#000000" | |
| android:endColor="#424242" | |
| android:angle="45" | |
| android:type="linear"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <FrameLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:id="@+id/fragment_container" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context="com.bignerdranch.android.beatbox.BeatBoxActivity"> | |
| </FrameLayout> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public abstract class SingleFragmentActivity extends AppCompatActivity { | |
| protected abstract Fragment createFragment(); | |
| @LayoutRes | |
| protected int getLayoutResId() { | |
| return R.layout.activity_fragment; | |
| } | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { |
NewerOlder