This repository was archived by the owner on Jun 27, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +21
-114
lines changed
java/com/blogspot/e_kanivets/moneytracker/ui Expand file tree Collapse file tree 6 files changed +21
-114
lines changed Original file line number Diff line number Diff line change 33/.idea /workspace.xml
44.DS_Store
55/build
6+ .idea /compiler.xml
7+ .idea /copyright /profiles_settings.xml
8+ .idea /encodings.xml
9+ .idea /gradle.xml
10+ .idea /libraries /appcompat_v7_20_0_0.xml
11+ .idea /libraries /support_annotations_20_0_0.xml
12+ .idea /libraries /support_v4_20_0_0.xml
13+ .idea /misc.xml
14+ .idea /modules.xml
15+ .idea /scopes /scope_settings.xml
16+ .idea /vcs.xml
17+ app /app.iml
18+ app /build.gradle
19+ gradle /wrapper /gradle-wrapper.jar
20+ gradle /wrapper /gradle-wrapper.properties
21+ money-tracker.iml
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88import android .database .sqlite .SQLiteDatabase ;
99import android .os .Bundle ;
1010import android .util .Log ;
11+ import android .view .Gravity ;
1112import android .view .View ;
1213import android .view .WindowManager ;
1314import android .view .inputmethod .InputMethodManager ;
@@ -68,6 +69,7 @@ public void onClick(View v) {
6869
6970 //Horrible thing to show a software keyboard
7071 getWindow ().clearFlags (WindowManager .LayoutParams .FLAG_NOT_FOCUSABLE |WindowManager .LayoutParams .FLAG_ALT_FOCUSABLE_IM );
72+
7173 setOnShowListener (new OnShowListener () {
7274 @ Override
7375 public void onShow (DialogInterface dialog ) {
Original file line number Diff line number Diff line change 88import android .database .sqlite .SQLiteDatabase ;
99import android .os .Bundle ;
1010import android .util .Log ;
11+ import android .view .Gravity ;
1112import android .view .MotionEvent ;
1213import android .view .View ;
1314import android .view .WindowManager ;
@@ -41,6 +42,7 @@ protected void onCreate(Bundle savedInstanceState) {
4142
4243 setContentView (R .layout .dialog_add_record );
4344
45+
4446 TextView tvTitle = (TextView ) findViewById (R .id .tv_title );
4547 tvTitle .setText (R .string .income );
4648 tvTitle .setBackgroundColor (context .getResources ().getColor (R .color .green_light ));
Original file line number Diff line number Diff line change 44 android : orientation =" vertical" android : layout_width =" 350dp"
55 android : layout_height =" wrap_content"
66 android : background =" @color/white"
7- android : focusable =" false"
8- android : focusableInTouchMode =" false" >
7+ android : layout_gravity =" center" >
98
109 <LinearLayout
1110 android : layout_weight =" 1"
You can’t perform that action at this time.
0 commit comments