File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
java/org/openimis/imisclaims Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11package org .openimis .imisclaims ;
22
33import android .os .Bundle ;
4+ import android .widget .TextView ;
45
56public class About extends ImisActivity {
7+ TextView appVersion ;
68 @ Override
79 protected void onCreate (Bundle savedInstanceState ) {
810 super .onCreate (savedInstanceState );
911 setContentView (R .layout .activity_about );
1012
13+ appVersion = findViewById (R .id .tvAppVersion );
14+ appVersion .setText (BuildConfig .VERSION_NAME );
15+
1116 if (actionBar != null ) {
1217 actionBar .setTitle ("" );
1318 }
Original file line number Diff line number Diff line change 3939 android : layout_height =" match_parent"
4040 android : layout_weight =" 1" />
4141 <TextView
42+ android : id =" @+id/tvAppVersion"
4243 android : layout_width =" wrap_content"
4344 android : layout_height =" match_parent"
4445 android : layout_marginStart =" 10dp"
You can’t perform that action at this time.
0 commit comments