Im trying to modify an existing project, the BluetoothLeGatt example, to 
turn it into ArduDroid, which is this app used to interface with Arduino 
via BT.  The ArduDroid looks like this:

<https://lh3.googleusercontent.com/-Ey0-8ov5hEE/VwWjVeipYYI/AAAAAAAAD0U/VaLd1flEUV8rqYL39F9n8JBl6NCD6JHlw/s1600/ardudroid.png>

I was thinking of adding an outer table layout of 1 column and 3 rows:

Row 1 = 1 text view & 4 sliders in linear layout

Row 2 = 1 text view & an inner table in linear layout

.............Inner table of 4 columns and 3 rows each with a button

Row 3 = 1 text view & an inner table in linear layout

.............Inner table of 2 columns and 2 rows each row with a button and 
a input text field

Looking at the BluetoothLEGatt example I see this structure in the layout 
folder to see what the main view is so that i can add my table there but I 
dont understand it.  I have these 3 layout/*.xml files:

1.  actionbar_indeterminate_progress.xml
2.  gatt_services_characteristics.xml
3.  listitem_devices.xml

The actionbar is just a progress bar on the top left corner.  The 
gatt_services looks to be a popup of some sort and so does the listitem xml.

The project has 4 java files:

1. DeviceScanActivity.java which appears to be the default activity from 
the AndroidManifest.
2. DeviceControlActivity.java
3. BluetoothLEService.java which has the BT adapter and connection code
4. SampleGattAttributes.java which displays attributes of a given device.

<https://lh3.googleusercontent.com/-61Tp8-WBoLA/VwaYazVfrkI/AAAAAAAAD0w/mhZlvcbak7Q3zlVicxr_aQgeN_-JoMgsA/s1600/Screenshot%2B2016-04-07%2B11.18.26.png>


How do I add a new view such that it is presented after the device has been 
picked and connected to from the list so that I can drop my tableview 
layout in there?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/dbe67310-73c7-4db9-b75a-d2da5893f7e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to