mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Added a border to separate the button bar from the content area.
This commit is contained in:
@@ -69,6 +69,12 @@ implements OnClickListener, DatabaseListener, ConnectionListener {
|
||||
list.setOnItemClickListener(adapter);
|
||||
layout.addView(list);
|
||||
|
||||
View line = new View(this);
|
||||
line.setLayoutParams(new LayoutParams(MATCH_PARENT, 5));
|
||||
int colour = getResources().getColor(R.color.ButtonBarBorder);
|
||||
line.setBackgroundColor(colour);
|
||||
layout.addView(line);
|
||||
|
||||
ImageButton addContactButton = new ImageButton(this);
|
||||
addContactButton.setPadding(10, 10, 10, 10);
|
||||
addContactButton.setBackgroundResource(0);
|
||||
|
||||
@@ -81,6 +81,12 @@ implements DatabaseListener, OnClickListener, OnItemClickListener {
|
||||
list.setOnItemClickListener(this);
|
||||
layout.addView(list);
|
||||
|
||||
View line = new View(this);
|
||||
line.setLayoutParams(new LayoutParams(MATCH_PARENT, 5));
|
||||
int colour = getResources().getColor(R.color.ButtonBarBorder);
|
||||
line.setBackgroundColor(colour);
|
||||
layout.addView(line);
|
||||
|
||||
ImageButton composeButton = new ImageButton(this);
|
||||
composeButton.setPadding(10, 10, 10, 10);
|
||||
composeButton.setBackgroundResource(0);
|
||||
|
||||
@@ -75,6 +75,12 @@ implements OnClickListener, DatabaseListener {
|
||||
list.setOnItemClickListener(adapter);
|
||||
layout.addView(list);
|
||||
|
||||
View line = new View(this);
|
||||
line.setLayoutParams(new LayoutParams(MATCH_PARENT, 5));
|
||||
int colour = getResources().getColor(R.color.ButtonBarBorder);
|
||||
line.setBackgroundColor(colour);
|
||||
layout.addView(line);
|
||||
|
||||
ImageButton composeButton = new ImageButton(this);
|
||||
composeButton.setPadding(10, 10, 10, 10);
|
||||
composeButton.setBackgroundResource(0);
|
||||
|
||||
@@ -156,6 +156,12 @@ implements OnClickListener {
|
||||
scrollView.addView(message);
|
||||
layout.addView(scrollView);
|
||||
|
||||
View line = new View(this);
|
||||
line.setLayoutParams(new LayoutParams(MATCH_PARENT, 5));
|
||||
int colour = getResources().getColor(R.color.ButtonBarBorder);
|
||||
line.setBackgroundColor(colour);
|
||||
layout.addView(line);
|
||||
|
||||
LinearLayout footer = new LinearLayout(this);
|
||||
footer.setLayoutParams(new LayoutParams(MATCH_PARENT, WRAP_CONTENT));
|
||||
footer.setOrientation(HORIZONTAL);
|
||||
|
||||
Reference in New Issue
Block a user