SD-222 #27
@ -124,16 +124,6 @@ public class MessagesActivity extends Activity {
|
||||
textViewSelectedContact = findViewById(R.id.textViewSelectedContact);
|
||||
imageViewSelectedContact = findViewById(R.id.imageViewSelectedContact);
|
||||
|
||||
ImageView imageBarcode = findViewById(R.id.imageBarcode);
|
||||
imageBarcode.setOnClickListener(v -> {
|
||||
try {
|
||||
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
|
||||
startActivityForResult(intent, 0);
|
||||
} catch (Exception e) {
|
||||
showErrorDialog(getResources().getString(R.string.barcodeError));
|
||||
}
|
||||
});
|
||||
|
||||
// change tab header fontFace
|
||||
TextView textView1 = findViewById(R.id.textView1);
|
||||
textView1.setTypeface(Typeface.createFromAsset(getAssets(), "Sketch_Block.ttf"));
|
||||
|
@ -214,20 +214,6 @@
|
||||
android:autofillHints="">
|
||||
</EditText>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_weight="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="4dp">
|
||||
<ImageView
|
||||
android:id="@+id/imageBarcode"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:src="@drawable/barcode"
|
||||
android:paddingTop="2dp"
|
||||
android:layout_margin="3dp" />
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/imageButtonSend"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -213,19 +213,6 @@
|
||||
android:autofillHints="">
|
||||
</EditText>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_weight="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="4dp">
|
||||
<ImageView
|
||||
android:id="@+id/imageBarcode"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:src="@drawable/barcode"
|
||||
android:layout_margin="3dp" />
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/imageButtonSend"
|
||||
android:layout_width="wrap_content"
|
||||
|
Loading…
Reference in New Issue
Block a user