File tree Expand file tree Collapse file tree
java/de/mide/android/komplementaerfarben Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ protected void onCreate( Bundle savedInstanceState ) {
4343 super .onCreate ( savedInstanceState );
4444 setContentView ( R .layout .activity_main );
4545
46- _farbe1View = findViewById ( R .id .textview_farbe1 );
47- _farbe2View = findViewById ( R .id .textview_farbe2 );
46+ _farbe1View = findViewById ( R .id .view_farbe1 );
47+ _farbe2View = findViewById ( R .id .view_farbe2 );
4848
4949 _zweiFarbenViewModel =
5050 new ViewModelProvider ( this ).get (ZweiFarbenViewModel .class );
Original file line number Diff line number Diff line change 1010 tools : context =" .MainActivity" >
1111
1212 <View
13- android : id =" @+id/textview_farbe1 "
13+ android : id =" @+id/view_farbe1 "
1414 android : layout_width =" match_parent"
1515 android : layout_height =" @dimen/hoehe_farbbox"
1616 android : background =" #808080"
17- app : layout_constraintBottom_toTopOf =" @+id/textview_farbe2 "
17+ app : layout_constraintBottom_toTopOf =" @+id/view_farbe2 "
1818 app : layout_constraintStart_toStartOf =" parent"
1919 app : layout_constraintEnd_toEndOf =" parent"
2020 app : layout_constraintTop_toTopOf =" parent"
2121 app : layout_constraintVertical_chainStyle =" spread" />
2222
2323 <View
24- android : id =" @+id/textview_farbe2 "
24+ android : id =" @+id/view_farbe2 "
2525 android : layout_width =" match_parent"
2626 android : layout_height =" @dimen/hoehe_farbbox"
2727 android : background =" #808080"
28- app : layout_constraintTop_toBottomOf =" @+id/textview_farbe1 "
28+ app : layout_constraintTop_toBottomOf =" @+id/view_farbe1 "
2929 app : layout_constraintBottom_toBottomOf =" parent"
3030 app : layout_constraintStart_toStartOf =" parent"
3131 app : layout_constraintEnd_toEndOf =" parent"
You can’t perform that action at this time.
0 commit comments