android - Toolbar disappears when using Vuforia versions below 4.4 -


i using sdk vuforia , testing on devices version 4.4 below toolbar disappears, menu buttons there invisible correct buttons visible. drawerlayout button recyclerview use side menu not work in version below 4.4, , icon disappears. effort can swipe activate side menu. above version of menu functions , buttons displayed. following images , correct problem , xml layouts.

enter image description here

enter image description here

camera_overlay.xml

    <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent">  <linearlayout     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:orientation="vertical"     android:layout_centerinparent="true">      <imageview         android:id="@+id/ivloading"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:src="@anim/loading"/>      <textview         android:id="@+id/tvloading"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:text="@string/loading"         android:textsize="23sp"         android:textstyle="bold"         android:textcolor="@color/primary_dark"         android:gravity="center_horizontal"         android:layout_margintop="43dp" />  </linearlayout>  </relativelayout> 

toolbar.xml

<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.toolbar     xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     android:id="@+id/toolbar"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:minheight="?attr/actionbarsize"     android:background="?attr/colorprimary"     android:fitssystemwindows="true"     android:elevation="4dp"     app:theme="@style/customactionbar"/> 

main_activity.xml

<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.drawerlayout     xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/drawerlayout"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:fitssystemwindows="true"     android:elevation="7dp">      <linearlayout         android:layout_width="match_parent"         android:layout_height="match_parent"         android:orientation="vertical">          <include             android:id="@+id/toolbar"             layout="@layout/toolbar">         </include>          <framelayout             android:id="@+id/fragcontainer"             android:layout_width="match_parent"             android:layout_height="match_parent"             android:tag="fragcontainer" />      </linearlayout>      <relativelayout         android:layout_width="320dp"         android:layout_height="match_parent"         android:layout_gravity="start">          <android.support.v7.widget.recyclerview             android:id="@+id/recyclerview"             android:layout_width="320dp"             android:layout_height="fill_parent"             android:layout_gravity="left"             android:fitssystemwindows="true"             android:background="@color/primary"             android:scrollbars="vertical">          </android.support.v7.widget.recyclerview>          <linearlayout             android:id="@+id/footer_menu"             android:layout_width="320dp"             android:layout_height="wrap_content"             android:layout_alignparentbottom="true"             android:orientation="horizontal" >              <imageview                 android:id="@+id/ivfooter"                 android:layout_width="wrap_content"                 android:layout_height="35dp"                 android:layout_gravity="bottom|center"                 android:layout_margin="5dp"/>          </linearlayout>      </relativelayout>  </android.support.v4.widget.drawerlayout> 

edited 10/16/2015

i made call on vuforia forum see if there me ... inclusive has test project facilitate location of problem.

as this link, solution found. problem organize objects on screen. following code play elements disappeared in front of preview camera.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -