Live Page #3
@ -9,12 +9,18 @@ import com.safemobile.lib.SM;
|
|||||||
public class HistoryActivity extends AppCompatActivity {
|
public class HistoryActivity extends AppCompatActivity {
|
||||||
|
|
||||||
public Bundle savedInstanceState;
|
public Bundle savedInstanceState;
|
||||||
|
private TabLayoutActivity parentTab;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
this.savedInstanceState = savedInstanceState;
|
this.savedInstanceState = savedInstanceState;
|
||||||
setContentView(R.layout.tabhistory);
|
setContentView(R.layout.tabhistory);
|
||||||
|
|
||||||
|
parentTab = (TabLayoutActivity) getParent();
|
||||||
|
parentTab.historyActivity = this;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateMap() {
|
public void UpdateMap() {
|
||||||
|
@ -12,7 +12,6 @@ import java.util.Locale;
|
|||||||
import java.util.Timer;
|
import java.util.Timer;
|
||||||
import java.util.TimerTask;
|
import java.util.TimerTask;
|
||||||
|
|
||||||
/** fix import */
|
|
||||||
import com.safemobile.activities.AbstractEmptyActivity;
|
import com.safemobile.activities.AbstractEmptyActivity;
|
||||||
import com.safemobile.activities.AbstractLiveActivity;
|
import com.safemobile.activities.AbstractLiveActivity;
|
||||||
import com.safemobile.activities.AbstractMessagesActivity;
|
import com.safemobile.activities.AbstractMessagesActivity;
|
||||||
@ -267,11 +266,11 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
|
|
||||||
tabHost = getTabHost(); // The activity TabHost
|
tabHost = getTabHost(); // The activity TabHost
|
||||||
tabHost.setTag("Tab Panel");
|
tabHost.setTag("Tab Panel");
|
||||||
tabWidget = (TabWidget) findViewById(android.R.id.tabs);
|
tabWidget = findViewById(android.R.id.tabs);
|
||||||
tabWidget.setVisibility(View.GONE);
|
tabWidget.setVisibility(View.GONE);
|
||||||
|
|
||||||
intent = new Intent[7];
|
intent = new Intent[8];
|
||||||
tabspecs = new TabSpec[7];
|
tabspecs = new TabSpec[8];
|
||||||
|
|
||||||
// add live tab
|
// add live tab
|
||||||
try
|
try
|
||||||
@ -290,23 +289,6 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
.setContent(intent[0]);
|
.setContent(intent[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// add history tab
|
|
||||||
try
|
|
||||||
{
|
|
||||||
//intent[1] = new Intent(context, HistoryActivity.class);
|
|
||||||
//tabspecs[1] = tabHost.newTabSpec("History")
|
|
||||||
// .setIndicator("History", res.getDrawable(R.drawable.ic_tab_history_selected))
|
|
||||||
// .setContent(intent[1]);
|
|
||||||
}
|
|
||||||
catch(NoClassDefFoundError e)
|
|
||||||
{
|
|
||||||
// exception when GoogleApi not exists
|
|
||||||
//intent[1] = new Intent(context, AbstractEmptyActivity.class);
|
|
||||||
//tabspecs[1] = tabHost.newTabSpec("History")
|
|
||||||
// .setIndicator("History", res.getDrawable(R.drawable.ic_tab_history_selected))
|
|
||||||
// .setContent(intent[1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// add text tab
|
// add text tab
|
||||||
intent[1] = new Intent(context, MessagesActivity.class);
|
intent[1] = new Intent(context, MessagesActivity.class);
|
||||||
tabspecs[1] = tabHost.newTabSpec("Text")
|
tabspecs[1] = tabHost.newTabSpec("Text")
|
||||||
@ -342,6 +324,21 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
tabspecs[6] = tabHost.newTabSpec("SafeMobile")
|
tabspecs[6] = tabHost.newTabSpec("SafeMobile")
|
||||||
.setIndicator("SafeMobile", res.getDrawable(AppParams.DEMO ? R.drawable.icon_demo : R.drawable.ic_launcher))
|
.setIndicator("SafeMobile", res.getDrawable(AppParams.DEMO ? R.drawable.icon_demo : R.drawable.ic_launcher))
|
||||||
.setContent(intent[6]);
|
.setContent(intent[6]);
|
||||||
|
|
||||||
|
// add history tab
|
||||||
|
try
|
||||||
|
{
|
||||||
|
intent[7] = new Intent(context, HistoryActivity.class);
|
||||||
|
tabspecs[7] = tabHost.newTabSpec("History")
|
||||||
|
.setIndicator("History", res.getDrawable(R.drawable.ic_tab_history_selected))
|
||||||
|
.setContent(intent[7]);
|
||||||
|
} catch(NoClassDefFoundError e) {
|
||||||
|
// exception when GoogleApi not exists
|
||||||
|
intent[7] = new Intent(context, AbstractEmptyActivity.class);
|
||||||
|
tabspecs[7] = tabHost.newTabSpec("History")
|
||||||
|
.setIndicator("History", res.getDrawable(R.drawable.ic_tab_history_selected))
|
||||||
|
.setContent(intent[1]);
|
||||||
|
}
|
||||||
|
|
||||||
// add tab in tabHost
|
// add tab in tabHost
|
||||||
// for(int i=0;i<7;i++
|
// for(int i=0;i<7;i++
|
||||||
@ -355,76 +352,64 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
imageViewSlideMenu = (ImageView) findViewById(R.id.imageViewSlideMenu);
|
imageViewSlideMenu = (ImageView) findViewById(R.id.imageViewSlideMenu);
|
||||||
|
|
||||||
// get Live Button
|
// get Live Button
|
||||||
buttonLive = (ImageButton) findViewById(R.id.buttonLive);
|
buttonLive = findViewById(R.id.buttonLive);
|
||||||
buttonLive.setOnClickListener(new OnClickListener() {
|
buttonLive.setOnClickListener(v -> {
|
||||||
@Override
|
if (!buttonLive.isSelected()) {
|
||||||
public void onClick(View v) {
|
// select button
|
||||||
if(!buttonLive.isSelected())
|
buttonLive.setSelected(true);
|
||||||
{
|
// deselect other buttons
|
||||||
// select button
|
buttonAlarms.setSelected(false);
|
||||||
buttonLive.setSelected(true);
|
buttonHistory.setSelected(false);
|
||||||
// deselect other buttons
|
buttonRadio.setSelected(false);
|
||||||
buttonAlarms.setSelected(false);
|
buttonRecordings.setSelected(false);
|
||||||
buttonHistory.setSelected(false);
|
buttonSetup.setSelected(false);
|
||||||
buttonRadio.setSelected(false);
|
buttonText.setSelected(false);
|
||||||
buttonRecordings.setSelected(false);
|
// select tab
|
||||||
buttonSetup.setSelected(false);
|
tabHost.setCurrentTabByTag("Live");
|
||||||
buttonText.setSelected(false);
|
AppParams.crtTab = AppParams.Tabs.live;
|
||||||
// select tab
|
|
||||||
tabHost.setCurrentTabByTag("Live");
|
|
||||||
AppParams.crtTab = AppParams.Tabs.live;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// get History Button
|
// get History Button
|
||||||
buttonHistory = (ImageButton) findViewById(R.id.buttonHistory);
|
buttonHistory = findViewById(R.id.buttonHistory);
|
||||||
buttonHistory.setOnClickListener(new OnClickListener() {
|
buttonHistory.setOnClickListener(v -> {
|
||||||
@Override
|
if (!buttonHistory.isSelected()) {
|
||||||
public void onClick(View v) {
|
// select button
|
||||||
if(!buttonHistory.isSelected())
|
buttonHistory.setSelected(true);
|
||||||
{
|
// deselect other buttons
|
||||||
// select button
|
buttonAlarms.setSelected(false);
|
||||||
buttonHistory.setSelected(true);
|
buttonLive.setSelected(false);
|
||||||
// deselect other buttons
|
buttonRadio.setSelected(false);
|
||||||
buttonAlarms.setSelected(false);
|
buttonRecordings.setSelected(false);
|
||||||
buttonLive.setSelected(false);
|
buttonSetup.setSelected(false);
|
||||||
buttonRadio.setSelected(false);
|
buttonText.setSelected(false);
|
||||||
buttonRecordings.setSelected(false);
|
// select tab
|
||||||
buttonSetup.setSelected(false);
|
tabHost.setCurrentTabByTag("History");
|
||||||
buttonText.setSelected(false);
|
AppParams.crtTab = AppParams.Tabs.history;
|
||||||
// select tab
|
|
||||||
tabHost.setCurrentTabByTag("History");
|
|
||||||
AppParams.crtTab = AppParams.Tabs.history;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// get Text Button
|
// get Text Button
|
||||||
buttonText= (ImageButton) findViewById(R.id.buttonText);
|
buttonText= findViewById(R.id.buttonText);
|
||||||
buttonText.setOnClickListener(new OnClickListener() {
|
buttonText.setOnClickListener(v -> {
|
||||||
@Override
|
if (!buttonText.isSelected()) {
|
||||||
public void onClick(View v) {
|
// select button
|
||||||
if(!buttonText.isSelected())
|
buttonText.setSelected(true);
|
||||||
|
// deselect other buttons
|
||||||
|
buttonAlarms.setSelected(false);
|
||||||
|
buttonLive.setSelected(false);
|
||||||
|
buttonRadio.setSelected(false);
|
||||||
|
buttonRecordings.setSelected(false);
|
||||||
|
buttonSetup.setSelected(false);
|
||||||
|
buttonHistory.setSelected(false);
|
||||||
|
// select tab
|
||||||
|
tabHost.setCurrentTabByTag("Text");
|
||||||
|
AppParams.crtTab = AppParams.Tabs.message;
|
||||||
|
|
||||||
|
if(AppParams.DEMO && messageActivity.allVehicle.size()== 0)
|
||||||
{
|
{
|
||||||
// select button
|
messageActivity.UpdateVehs(allVehicle);
|
||||||
buttonText.setSelected(true);
|
messageActivity.UpdateSMS(listSMS);
|
||||||
// deselect other buttons
|
|
||||||
buttonAlarms.setSelected(false);
|
|
||||||
buttonLive.setSelected(false);
|
|
||||||
buttonRadio.setSelected(false);
|
|
||||||
buttonRecordings.setSelected(false);
|
|
||||||
buttonSetup.setSelected(false);
|
|
||||||
buttonHistory.setSelected(false);
|
|
||||||
// select tab
|
|
||||||
tabHost.setCurrentTabByTag("Text");
|
|
||||||
AppParams.crtTab = AppParams.Tabs.message;
|
|
||||||
|
|
||||||
if(AppParams.DEMO && messageActivity.allVehicle.size()== 0)
|
|
||||||
{
|
|
||||||
messageActivity.UpdateVehs(allVehicle);
|
|
||||||
messageActivity.UpdateSMS(listSMS);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -611,24 +596,21 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
});
|
});
|
||||||
|
|
||||||
// get About Button
|
// get About Button
|
||||||
buttonLogo = (ImageButton) findViewById(R.id.buttonLogo);
|
buttonLogo = findViewById(R.id.buttonLogo);
|
||||||
buttonLogo.setOnClickListener(new OnClickListener() {
|
buttonLogo.setOnClickListener(v -> {
|
||||||
@Override
|
// create dialog
|
||||||
public void onClick(View v) {
|
final Dialog dialog = new Dialog(context);
|
||||||
// create dialog
|
dialog.setTitle(AppParams.DEMO ? getString(R.string.app_name_demo) : getString(R.string.app_name));
|
||||||
final Dialog dialog = new Dialog(context);
|
dialog.setContentView(R.layout.dialog);
|
||||||
dialog.setTitle(AppParams.DEMO ? getString(R.string.app_name_demo) : getString(R.string.app_name));
|
ImageView image = dialog.findViewById(R.id.image);
|
||||||
dialog.setContentView(R.layout.dialog);
|
image.setImageResource(AppParams.DEMO ? R.drawable.icon_demo : R.drawable.ic_launcher);
|
||||||
ImageView image = (ImageView) dialog.findViewById(R.id.image);
|
TextView text = dialog.findViewById(R.id.text);
|
||||||
image.setImageResource(AppParams.DEMO ? R.drawable.icon_demo : R.drawable.ic_launcher);
|
TextView text2 = dialog.findViewById(R.id.text2);
|
||||||
TextView text = (TextView) dialog.findViewById(R.id.text);
|
text.setText(getString(R.string.version) + "1.0.8");
|
||||||
TextView text2 = (TextView) dialog.findViewById(R.id.text2);
|
text2.setText(getString(R.string.email) + ": support@safemobile.com");
|
||||||
text.setText(getString(R.string.version) + "1.0.8");
|
dialog.setCancelable(true);
|
||||||
text2.setText(getString(R.string.email) + ": support@safemobile.com");
|
dialog.setCanceledOnTouchOutside(true);
|
||||||
dialog.setCancelable(true);
|
dialog.show();
|
||||||
dialog.setCanceledOnTouchOutside(true);
|
|
||||||
dialog.show();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
imageViewClose.setOnTouchListener(new OnTouchListener() {
|
imageViewClose.setOnTouchListener(new OnTouchListener() {
|
||||||
@ -1457,28 +1439,19 @@ public class TabLayoutActivity extends AbstractSDParentActivity{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if tab is not TextTab
|
// if tab is not TextTab
|
||||||
if(tabHost.getCurrentTab() != 2)
|
if(tabHost.getCurrentTab() != 2) {
|
||||||
{
|
|
||||||
myHandler.post(UpdateResults);
|
myHandler.post(UpdateResults);
|
||||||
//mHandler.dispatchMessage(new Message());
|
//mHandler.dispatchMessage(new Message());
|
||||||
}
|
} else
|
||||||
else
|
myHandler.post(() -> {
|
||||||
myHandler.post(new Runnable() {
|
// create Notification
|
||||||
|
createNotification(AppParams.messageNotif);
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
// create Notification
|
|
||||||
createNotification(AppParams.messageNotif);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
//list for SMS
|
//list for SMS
|
||||||
if(AppParams.crtTab == AppParams.Tabs.message && messageActivity!= null)
|
if(AppParams.crtTab == AppParams.Tabs.message && messageActivity!= null) {
|
||||||
{
|
|
||||||
SM.Debug("currentActivity instanceof MessagesActivity - NewSMS | " + tempArr[0] + " | " + tempArr[1]);
|
SM.Debug("currentActivity instanceof MessagesActivity - NewSMS | " + tempArr[0] + " | " + tempArr[1]);
|
||||||
messageActivity.NewSMS(tempArr[0], tempArr[1], time);
|
messageActivity.NewSMS(tempArr[0], tempArr[1], time);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -5,337 +5,328 @@
|
|||||||
android:id="@+id/tab1Layout" android:orientation="horizontal"
|
android:id="@+id/tab1Layout" android:orientation="horizontal"
|
||||||
style="?bg">
|
style="?bg">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/relativeHeader"
|
android:id="@+id/relativeHeader"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true">
|
android:layout_alignParentTop="true">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="left"
|
android:gravity="left"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
style="?header"
|
style="?header"
|
||||||
android:id="@+id/layoutHeader">
|
android:id="@+id/layoutHeader">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewMsg"
|
android:id="@+id/imageViewMsg"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:src="@drawable/calendar_48_red"
|
android:src="@drawable/calendar_48_red"
|
||||||
android:paddingLeft="0dp"
|
android:paddingLeft="0dp"
|
||||||
android:layout_margin="3dp"
|
android:layout_margin="3dp"
|
||||||
android:layout_weight="0" />
|
android:layout_weight="0" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView1"
|
android:id="@+id/textView1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/history"
|
android:text="@string/history"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:paddingTop="7dp"
|
android:paddingTop="7dp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:layout_weight="0"/>
|
android:layout_weight="0"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewSeparator"
|
android:id="@+id/imageViewSeparator"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:src="@drawable/separator_white"
|
android:src="@drawable/separator_white"
|
||||||
android:layout_margin="2dp"
|
android:layout_margin="2dp"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:focusable="false" />
|
android:focusable="false" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewDown"
|
android:id="@+id/imageViewDown"
|
||||||
android:layout_width="20dp"
|
android:layout_width="20dp"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginBottom="2dp"
|
android:layout_marginBottom="2dp"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:src="@drawable/arrow_menu_down" />
|
android:src="@drawable/arrow_menu_down" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/imageButtonAdd2"
|
android:id="@+id/imageButtonAdd2"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:scaleType="centerInside"
|
android:scaleType="centerInside"
|
||||||
android:layout_marginRight="5dp"
|
android:layout_marginRight="5dp"
|
||||||
android:paddingLeft="2dp"
|
android:paddingLeft="2dp"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:background="@drawable/addmessage_selector"/>
|
android:background="@drawable/addmessage_selector"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/changeTraffic"
|
android:id="@+id/changeTraffic"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:padding="3dp"
|
android:padding="3dp"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:src="@drawable/traffic_off"
|
android:src="@drawable/traffic_off"
|
||||||
android:adjustViewBounds="true"/>
|
android:adjustViewBounds="true"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/changeMapTypeHeader"
|
android:id="@+id/changeMapTypeHeader"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:padding="3dp"
|
android:padding="3dp"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:src="@drawable/satellite"
|
android:src="@drawable/satellite"
|
||||||
android:adjustViewBounds="true"/>
|
android:adjustViewBounds="true"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textViewNew"
|
android:id="@+id/textViewNew"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="New"
|
android:text="New"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:paddingTop="7dp"
|
android:paddingTop="7dp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
<!-- android:background="@drawable/addmessage_selector" -->
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:layout_below="@+id/relativeHeader">
|
android:layout_below="@+id/relativeHeader">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:weightSum="1">
|
android:weightSum="1">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="200dp"
|
||||||
<LinearLayout
|
android:layout_height="fill_parent"
|
||||||
android:layout_width="200dp"
|
android:id="@+id/layoutBig"
|
||||||
android:layout_height="fill_parent"
|
android:orientation="vertical"
|
||||||
android:id="@+id/layoutBig"
|
android:visibility="visible">
|
||||||
android:orientation="vertical"
|
<LinearLayout
|
||||||
android:visibility="visible">
|
android:layout_width="fill_parent"
|
||||||
<LinearLayout
|
android:layout_height="fill_parent"
|
||||||
android:layout_width="fill_parent"
|
android:id="@+id/liveVehicle"
|
||||||
android:layout_height="fill_parent"
|
android:background="#ffffff"
|
||||||
android:id="@+id/liveVehicle"
|
android:orientation="vertical">
|
||||||
android:background="#ffffff"
|
|
||||||
android:orientation="vertical">
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/LayoutSpinner"
|
android:id="@+id/LayoutSpinner"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingTop="10dp"
|
android:paddingTop="10dp"
|
||||||
android:gravity="top"
|
android:gravity="top"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/vehicle"
|
android:text="@string/vehicle"
|
||||||
android:textSize="20dp"
|
android:textSize="20dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textColor="#000000"
|
android:textColor="#000000"
|
||||||
android:gravity="left"
|
android:gravity="left"
|
||||||
android:id="@+id/labelVehicle"/>
|
android:id="@+id/labelVehicle"/>
|
||||||
|
|
||||||
<Spinner
|
<Spinner
|
||||||
android:id="@+id/spinnerVehicle"
|
android:id="@+id/spinnerVehicle"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:entries="@array/arrayLanguages"
|
android:entries="@array/arrayLanguages"
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:prompt="@string/selUsername"/>
|
android:prompt="@string/selUsername"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:text="@string/startDate"
|
android:text="@string/startDate"
|
||||||
android:textSize="22dp"
|
android:textSize="22dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textColor="#000000"
|
android:textColor="#000000"
|
||||||
android:gravity="left"
|
android:gravity="left"
|
||||||
android:id="@+id/labelStartDate"
|
android:id="@+id/labelStartDate"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/layoutStartPicker"
|
android:id="@+id/layoutStartPicker"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_gravity="left"
|
android:layout_gravity="left"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:layout_marginLeft="2sp"
|
android:layout_marginLeft="2sp"
|
||||||
android:layout_marginRight="3sp"
|
android:layout_marginRight="3sp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:background="@drawable/style_spinner">
|
android:background="@drawable/style_spinner">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewStartDate"
|
android:id="@+id/imageViewStartDate"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:src="@drawable/calendar_48" />
|
android:src="@drawable/calendar_48" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textViewStartDate"
|
android:id="@+id/textViewStartDate"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="10:41, 12.12.2011"
|
android:text="10:41, 12.12.2011"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:paddingLeft="1dp"
|
android:paddingLeft="1dp"
|
||||||
android:textColor="#000000"/>
|
android:textColor="#000000"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:text="@string/endDate"
|
android:text="@string/endDate"
|
||||||
android:textSize="22dp"
|
android:textSize="22dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textColor="#000000"
|
android:textColor="#000000"
|
||||||
android:gravity="left"
|
android:gravity="left"
|
||||||
android:id="@+id/labelEndDate"
|
android:id="@+id/labelEndDate"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/layoutEndPicker"
|
android:id="@+id/layoutEndPicker"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_gravity="left"
|
android:layout_gravity="left"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:layout_marginTop="3sp"
|
android:layout_marginTop="3sp"
|
||||||
android:layout_marginLeft="2sp"
|
android:layout_marginLeft="2sp"
|
||||||
android:layout_marginRight="3sp"
|
android:layout_marginRight="3sp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:background="@drawable/style_spinner">
|
android:background="@drawable/style_spinner">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewEndDate"
|
android:id="@+id/imageViewEndDate"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:src="@drawable/calendar_48_red" />
|
android:src="@drawable/calendar_48_red" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textViewEndDate"
|
android:id="@+id/textViewEndDate"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="10:00, 13.12.2011"
|
android:text="10:00, 13.12.2011"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:paddingLeft="1dp"
|
android:paddingLeft="1dp"
|
||||||
android:textColor="#000000" />
|
android:textColor="#000000" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:gravity="bottom">
|
android:gravity="bottom">
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textViewSearch"
|
android:id="@+id/textViewSearch"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textSize="16dp"
|
android:textSize="16dp"
|
||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:textColor="#000000"/>
|
android:textColor="#000000"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
style="?header"
|
style="?header"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingTop="4dp">
|
android:paddingTop="4dp">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/buttonDisplay"
|
android:id="@+id/buttonDisplay"
|
||||||
style="?login"
|
style="?login"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:text="@string/display" />
|
android:text="@string/display" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:id="@+id/slidelayout"
|
||||||
|
android:layout_toRightOf="@id/liveVehicle"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_weight="0">
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/slideLayoutImage"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:src="@drawable/arrow_left"
|
||||||
|
android:layout_weight="1"
|
||||||
|
style="?sliders" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/layoutGoogleMaps"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:layout_toRightOf="@id/slidelayout"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:orientation="horizontal" >
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
<ImageView
|
||||||
android:layout_width="20dp"
|
android:id="@+id/changeMapType"
|
||||||
android:layout_height="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:id="@+id/slidelayout"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toRightOf="@id/liveVehicle"
|
android:layout_alignParentRight="true"
|
||||||
android:gravity="center_vertical"
|
android:layout_alignParentTop="true"
|
||||||
android:orientation="vertical"
|
android:padding="3dp"
|
||||||
android:layout_weight="0">
|
android:src="@drawable/satellite"
|
||||||
<ImageView
|
android:visibility="gone"/>
|
||||||
android:id="@+id/slideLayoutImage"
|
<LinearLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="30dp"
|
||||||
android:gravity="center_horizontal"
|
android:layout_margin="3dp"
|
||||||
android:src="@drawable/arrow_left"
|
android:layout_alignLeft="@+id/changeMapType"
|
||||||
android:layout_weight="1"
|
android:layout_below="@+id/changeMapType"
|
||||||
style="?sliders" />
|
android:background="#fff"
|
||||||
</LinearLayout>
|
android:orientation="horizontal"
|
||||||
|
android:id="@+id/layoutTraffic"
|
||||||
<LinearLayout
|
android:visibility="gone">
|
||||||
android:id="@+id/layoutGoogleMaps"
|
<ImageView
|
||||||
android:layout_width="fill_parent"
|
android:id="@+id/checkTraffic"
|
||||||
android:layout_height="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_toRightOf="@id/slidelayout"
|
android:layout_height="fill_parent"
|
||||||
android:layout_weight="1"
|
android:padding="1dp"
|
||||||
android:orientation="horizontal" >
|
android:src="@drawable/checked"/>
|
||||||
</LinearLayout>
|
<TextView
|
||||||
|
android:id="@+id/changeTraffic2"
|
||||||
</LinearLayout>
|
android:text="Traffic"
|
||||||
<ImageView
|
android:textSize="16dp"
|
||||||
android:id="@+id/changeMapType"
|
android:textColor="#000"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="fill_parent"
|
||||||
android:layout_alignParentRight="true"
|
android:gravity="center_vertical"/>
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:padding="3dp"
|
|
||||||
android:src="@drawable/satellite"
|
|
||||||
android:visibility="gone"/>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="30dp"
|
|
||||||
android:layout_margin="3dp"
|
|
||||||
android:layout_alignLeft="@+id/changeMapType"
|
|
||||||
android:layout_below="@+id/changeMapType"
|
|
||||||
android:background="#fff"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:id="@+id/layoutTraffic"
|
|
||||||
android:visibility="gone">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/checkTraffic"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="1dp"
|
|
||||||
android:src="@drawable/checked"/>
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/changeTraffic2"
|
|
||||||
android:text="Traffic"
|
|
||||||
android:textSize="16dp"
|
|
||||||
android:textColor="#000"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:gravity="center_vertical"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
@ -5,90 +5,70 @@
|
|||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/linearLayout1"
|
android:id="@+id/linearLayout1"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:background="#000000">
|
android:background="#000000">
|
||||||
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2" android:orientation="vertical">
|
|
||||||
<!--
|
|
||||||
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout3">
|
|
||||||
|
|
||||||
<LinearLayout android:layout_width="80dp" android:id="@+id/linearLayout4" android:layout_height="wrap_content">
|
|
||||||
<Button android:layout_width="wrap_content" android:text="Create tabs" android:layout_height="wrap_content" android:id="@+id/button1"></Button>
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout android:layout_height="match_parent" android:id="@+id/linearLayout5" android:layout_width="match_parent">
|
|
||||||
<LinearLayout android:layout_width="100dp" android:layout_height="match_parent" android:id="@+id/linearLayout7" android:layout_weight="0.29" android:weightSum="1">
|
|
||||||
<Button android:text="Remove selected tab" android:layout_height="wrap_content" android:id="@+id/button3" android:layout_width="wrap_content"></Button>
|
|
||||||
</LinearLayout>
|
|
||||||
<EditText android:layout_width="wrap_content" android:id="@+id/editText1" android:layout_height="wrap_content" android:inputType="number" android:layout_weight="13.86">
|
|
||||||
<requestFocus></requestFocus>
|
|
||||||
</EditText>
|
|
||||||
<LinearLayout android:layout_width="80dp" android:layout_height="match_parent" android:id="@+id/linearLayout7" android:layout_weight="0.29" android:weightSum="1">
|
|
||||||
<Button android:layout_width="wrap_content" android:text="Add tab" android:layout_height="wrap_content" android:id="@+id/button2" android:layout_weight="0.25"></Button>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
-->
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:id="@+id/linearLayout6"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_height="fill_parent">
|
|
||||||
<TabHost
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:id="@android:id/tabhost"
|
|
||||||
android:layout_weight="1">
|
|
||||||
<RelativeLayout
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="0dp">
|
|
||||||
<TabWidget
|
|
||||||
android:id="@android:id/tabs"
|
|
||||||
android:layout_width="390dp"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:id="@android:id/tabcontent"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_below="@android:id/tabs"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
<LinearLayout
|
||||||
</TabHost>
|
android:layout_width="fill_parent"
|
||||||
<LinearLayout
|
android:id="@+id/linearLayout6"
|
||||||
android:layout_width="wrap_content"
|
android:orientation="horizontal"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent">
|
||||||
android:layout_weight="0"
|
<TabHost
|
||||||
android:orientation="horizontal">
|
android:layout_width="fill_parent"
|
||||||
<LinearLayout
|
android:layout_height="fill_parent"
|
||||||
android:layout_width="20dp"
|
android:id="@android:id/tabhost"
|
||||||
android:layout_height="fill_parent"
|
android:layout_weight="1">
|
||||||
android:id="@+id/layoutSlideMenu"
|
<RelativeLayout
|
||||||
android:gravity="center_vertical"
|
android:orientation="vertical"
|
||||||
android:orientation="vertical"
|
android:layout_width="fill_parent"
|
||||||
android:layout_weight="0">
|
android:layout_height="fill_parent"
|
||||||
<ImageView
|
android:padding="0dp">
|
||||||
android:id="@+id/imageViewSlideMenu"
|
<TabWidget
|
||||||
android:layout_width="fill_parent"
|
android:id="@android:id/tabs"
|
||||||
android:layout_height="fill_parent"
|
android:layout_width="390dp"
|
||||||
android:gravity="center_horizontal"
|
android:layout_height="wrap_content"/>
|
||||||
android:src="@drawable/arrow_right"
|
|
||||||
android:layout_weight="1"
|
<FrameLayout
|
||||||
style="?sliders" />
|
android:id="@android:id/tabcontent"
|
||||||
</LinearLayout>
|
android:layout_width="fill_parent"
|
||||||
<include
|
android:layout_height="fill_parent"
|
||||||
android:id="@+id/layoutMenu"
|
android:layout_below="@android:id/tabs"/>
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
</RelativeLayout>
|
||||||
layout="@layout/menu" />
|
</TabHost>
|
||||||
</LinearLayout>
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:layout_weight="0"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:id="@+id/layoutSlideMenu"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_weight="0">
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageViewSlideMenu"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:src="@drawable/arrow_right"
|
||||||
|
android:layout_weight="1"
|
||||||
|
style="?sliders" />
|
||||||
|
</LinearLayout>
|
||||||
|
<include
|
||||||
|
android:id="@+id/layoutMenu"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="fill_parent"
|
||||||
|
layout="@layout/menu" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/layoutNewMessage"
|
android:id="@+id/layoutNewMessage"
|
||||||
android:layout_width="250dp"
|
android:layout_width="250dp"
|
||||||
@ -100,20 +80,20 @@
|
|||||||
android:layout_margin="2dp"
|
android:layout_margin="2dp"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:background="@drawable/alert_message">
|
android:background="@drawable/alert_message">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewClose"
|
android:id="@+id/imageViewClose"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:src="@drawable/balloon_overlay_close"
|
android:src="@drawable/balloon_overlay_close"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:background="@drawable/balloon_close_bg_selector" />
|
android:background="@drawable/balloon_close_bg_selector" />
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="3dp">
|
android:padding="3dp">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/slideTabsText"
|
android:id="@+id/slideTabsText"
|
||||||
@ -127,15 +107,15 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_above="@android:id/tabs"/>
|
android:layout_above="@android:id/tabs"/>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageViewPopUp"
|
android:id="@+id/imageViewPopUp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:src="@drawable/message"
|
android:src="@drawable/message"
|
||||||
android:layout_gravity="center_vertical" />
|
android:layout_gravity="center_vertical" />
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -162,7 +142,6 @@
|
|||||||
android:layout_gravity="center_vertical"/>
|
android:layout_gravity="center_vertical"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
Loading…
Reference in New Issue
Block a user