updated UI and stuff
This commit is contained in:
@@ -78,12 +78,16 @@ public class MainActivity extends AppCompatActivity {
|
||||
appItem.setOrientation(LinearLayout.VERTICAL);
|
||||
appItem.setGravity(Gravity.CENTER);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Grid Layout Params for perfect columns
|
||||
GridLayout.LayoutParams gridParams = new GridLayout.LayoutParams(
|
||||
GridLayout.spec(GridLayout.UNDEFINED, 1f),
|
||||
GridLayout.spec(GridLayout.UNDEFINED, 1f)
|
||||
);
|
||||
gridParams.width = 0;
|
||||
gridParams.width = ViewGroup.LayoutParams.WRAP_CONTENT;
|
||||
gridParams.setMargins(0, 30, 0, 30);
|
||||
appItem.setLayoutParams(gridParams);
|
||||
|
||||
|
||||
@@ -38,15 +38,4 @@
|
||||
android:useDefaultMargins="false" />
|
||||
</ScrollView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="9dp"
|
||||
android:text="Property of FRC team 2648/member of FRC team 2648"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||
app:layout_constraintBottom_toTopOf="@+id/topSpacer"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user