自从我更新了我的Android Studio(2.3.1)和构建工具(2.3.1)后,我收到了警告,
警告:悬空Javadoc评论
对于评论,
/** set name with format, {@Link FORMAT_NAME} **/
setNameText(getFormattedName(FORMAT_NAME));
Run Code Online (Sandbox Code Playgroud)
如您所见,我使用javadoc样式注释进行链接和其他.我想知道是否有其他评论替代品具有链接功能.
谢谢.
安卓
我的包含引号列表的活动如下.
package bank.quotes.famous;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;
public class QuotesActivity extends FamousQuotesActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.quoteslayout);
CheckBox favButton = (CheckBox)findViewById( R.id.favbutton );
Run Code Online (Sandbox Code Playgroud)
我试过在这里添加你的代码没有成功.我的xml如下,>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="856dp"
android:background="@android:color/white"
android:orientation="vertical" >
<TableRow
android:id="@+id/TableRow03"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.25" >
<RelativeLayout
android:id="@+id/RelativeLayout08"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/forquotesgrey" >
<TextView
android:id="@+id/TextView22"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="@string/albertquote"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/TextView21"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:text="@string/alberteinstein" …Run Code Online (Sandbox Code Playgroud)