Skip to content

Commit

Permalink
Hahahaha jk. This is the realest commit. File browsing is actually su…
Browse files Browse the repository at this point in the history
…pported now.
  • Loading branch information
rb28z2 committed Feb 16, 2016
1 parent fb2d27c commit 878805c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
android:versionName="0.23">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/ca/currybox/yaya/SingleItemView.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RelativeLayout;
Expand Down Expand Up @@ -50,6 +51,9 @@ public void onCreate(Bundle savedInstanceState) {
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

//Don't show keyboard by default. 100% less annoying.
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);

Button read = (Button) findViewById(R.id.read);
Button write = (Button) findViewById(R.id.write);
read.setOnClickListener(this);
Expand Down

0 comments on commit 878805c

Please sign in to comment.